import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)


import HelloWorld from '@/components/HelloWorld'
import myorder from '@/components/jinyoujia/myorder'
import mytopic from '@/components/jinyoujia/mytopic'
import mymessage from '@/components/jinyoujia/mymessage'
import detailsHeader from '@/components/jinyoujia/detailsHeader'

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/myorder',
      name: 'myorder',
      component: myorder
    },
    {
      path: '/mytopic',
      name: 'mytopic',
      component: mytopic
    }, {
      path: '/mymessage',
      name: 'mymessage',
      component: mymessage
    },
    {
      path: '/detailsHeader',
      name: 'detailsHeader',
      component: detailsHeader
    }
  ]
})
